package com.ll.gulimall.product.feign;

import com.ll.common.to.es.SkuEsModel;
import com.ll.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author 21243
 */
@FeignClient("gulimall-serach")
public interface SearchFeignService {

    @PostMapping("/search/save/productUp")
     R productUp(@RequestBody List<SkuEsModel> skuEsModels);

}
